﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _03RectangleArea
{
    class _03RectangleArea
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Calculating the area of a rectangle.");
            
            Console.WriteLine("Enter width:");
            
            decimal width = decimal.Parse(Console.ReadLine());
            
            Console.WriteLine("Enter height:");
            
            decimal height = decimal.Parse(Console.ReadLine());
            
            decimal area = height * width;
            
            Console.WriteLine("The area of the rectangle is: " + area);
        }
    }
}
